package com.mjk.common.base.work.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Target({java.lang.annotation.ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface BeeWork {
	String work() default "";
	//是否开启动态bean 传参
	boolean isDynamic() default false;


	//是否有定时任务
	boolean isScheduled() default false;

}
